package com.takeshi.landlords.util;

import lombok.Data;

@Data
public class Node<E> {
    E elemnt;
    Node<E> next;
    Node<E> prev;

    public Node(Node<E> prev, E element, Node<E> next) {
        this.elemnt = element;
        this.next = next;
        this.prev = prev;
    }

}